#!/usr/bin/python
# -*- coding: utf-8 -*-
# @version        : 1.0
# @Create Time    : 2024/9/6 11:11
# @File           : vendor
# @IDE            : PyCharm
# @desc           : 描述


from fastapi import Depends
from core.dependencies import Paging, QueryParams


class SampleGroupParams(QueryParams):
    """
    列表分页
    """

    def __init__(
            self,
            params: Paging = Depends(),
            group_name: str = None
    ):
        super().__init__(params)
        self.group_name = group_name


class SampleStandardParams(QueryParams):
    """
    列表分页
    """

    def __init__(
            self,
            params: Paging = Depends(),
            standard: str = None,
            group_name: str = None,
            is_active: bool = None
    ):
        super().__init__(params)
        self.group_name = group_name
        self.standard = standard
        self.is_active = is_active
